package com.wgchao.identityrightsmanagement.infrastructure.jpa.repository;

import com.wgchao.identityrightsmanagement.infrastructure.jpa.entity.SysResourceProject;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: SysResourceProjectRepository
 * @author: wgchao
 * @createTime: 2020/6/18 9:42 AM
 * @Description: TODO
 */
@Repository
public interface SysResourceProjectRepository extends JpaRepository<SysResourceProject, Long> {
    SysResourceProject findFirstByProMark(String proMark);
    List<SysResourceProject> findAllByDisabledIsFalse();
}
